package com.entity.enums;

/***
 * 类描述: 服务项目类型枚举
 *
 * @author jack
 * @date 16/03/2017
 */
public enum ServiceItemStatTypeEnum {
    //类型统计类型 1洗剪吹 2烫发 3染发 4护发 5接发 6化妆 7养生 8美容 9美甲 10外卖产品 11其他 12美睫
    XI_JIAN_CHUI(1),
    TANG_FA(2),
    RAN_FA(3),
    HU_FA(4),
    JIE_FA(5),
    HUA_ZHUANG(6),
    YANG_SHENG(7),
    MEI_RONG(8),
    MEI_JIA(9),
    MEI_JIE(12),
    WAI_MAI_CHAN_PING(10),
    QI_TA(11),
    HUI_YUAN_KA(100),
    TIMERS_HUI_YUAN_KA(101),
    DISCOUNT_CARD(102);
    int value;

    ServiceItemStatTypeEnum(int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }

    public static String getDesp(Integer value) {
        if(value==null)
        {
            return "";
        }
        switch (value) {
            case 1:
                return "洗剪吹";
            case 2:
                return "烫发";
            case 3:
                return "染发";
            case 4:
                return "护发";
            case 5:
                return "接发";
            case 6:
                return "化妆";
            case 7:
                return "养生";
            case 8:
                return "美容";
            case 9:
                return "美甲";
            case 10:
                return "外卖产品";
            case 11:
                return "其他";
            case 12:
                return "美睫";
            case 100:
                return "充值卡";
            case 101:
                return "次卡";
            case 102:
                return "折扣卡";
            default:
                return "";
        }
    }
}
